package cn.lopr.hfbdqn.vo;

import cn.lopr.hfbdqn.pojo.Comment;

/**
 * @author shuangyang7
 * @date 2021/7/20 21:18
 */
public class CommentVo extends Comment {
    private String username;
    private String userHeadPicture;

    public CommentVo() {
    }

    public CommentVo(Comment comment) {
        super.setCommentContent(comment.getCommentContent());
        super.setCommentDate(comment.getCommentDate());
        super.setCommentId(comment.getCommentId());
        super.setCommentScore(comment.getCommentScore());
        super.setMovieId(comment.getMovieId());
        super.setUserId(comment.getUserId());
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserHeadPicture() {
        return userHeadPicture;
    }

    public void setUserHeadPicture(String userHeadPicture) {
        this.userHeadPicture = userHeadPicture;
    }

}
